﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using IQKS.AWP.DataAccessLayer;
using IQKS.AWP.BusinessObject;

namespace IQKS.AWP.BusinessAccessLayer
{
    public class PaymentInvoiceBAL
    {
        public DataSet GetPaymentInvoiceByAssessor(params object[] param)
        {
            DataSet objDs;
            try
            {
                objDs = new PaymentInvoiceDAL().GetPaymentInvoiceByAssessor(param);

            }
            catch (Exception exception)
            {
                throw new ApplicationException(exception.Message);
            }
            return objDs;
        }

       




          public object SetPaymentInvoice(PaymentInvoiceBO param)
          {
              try
              {
                  return new PaymentInvoiceDAL().SetPaymentInvoice(param);
              }
              catch (Exception ex)
              {
                  throw new ApplicationException(ex.Message);
              }
          }

          public DataSet GetPaymentStatusDashboardUserWise(params object[] param)
          {
              DataSet objDs;
              try
              {
                  objDs = new PaymentInvoiceDAL().GetPaymentStatusDashboardUserWise(param);

              }
              catch (Exception exception)
              {
                  throw new ApplicationException(exception.Message);
              }
              return objDs;
          }

          public DataSet GetPaymentStatusDetailUserWise(params object[] param)
          {
              DataSet objDs;
              try
              {
                  objDs = new PaymentInvoiceDAL().GetPaymentStatusDetailUserWise(param);

              }
              catch (Exception exception)
              {
                  throw new ApplicationException(exception.Message);
              }
              return objDs;
          }

    }
}
